package com.qiwo.bpm.service;

import com.qiwo.bpm.domain.FlowDefinition;
import com.qiwo.common.base.CoreService;
import org.dom4j.DocumentException;

/**
 * 
 * <pre>
 * 流程定义表
 *  @author  chenwenchao
 *  @date 2021-04-01 16:15:01
 * </pre>
 * <small> 2021-04-01 16:15:01 | chenwenchao</small>
 */
public interface FlowDefinitionService extends CoreService<FlowDefinition> {

    void doImport(String tmpFile, String typeId);

    void save(String id, String flowxml, Integer flowTypeID) throws Exception;


    String flowXmlEnter(String flowxml)
            throws Exception;

    void flowIssue(String[] ids, Integer state)
            throws Exception;


    void copyDefinition(String id, int copies, Integer type)
            throws Exception;
}
